package com.moshme.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.moshme.project.domain.StageSurveyConfinedSpace;
import com.moshme.project.domain.StageSurveyPeripheralMppn;
import com.moshme.project.domain.StageSurveyPrf;
import com.moshme.project.service.StageSurveyPeripheralMppnService;
import com.moshme.project.mapper.StageSurveyPeripheralMppnMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 19803
* @description 针对表【stage_survey_peripheral_mppn(勘察阶段园区外围中压管网表)】的数据库操作Service实现
* @createDate 2023-09-07 16:55:24
*/
@Service
public class StageSurveyPeripheralMppnServiceImpl extends ServiceImpl<StageSurveyPeripheralMppnMapper, StageSurveyPeripheralMppn>
    implements StageSurveyPeripheralMppnService{

    @Override
    public List<StageSurveyPeripheralMppn> getListByProject(Long projectId) {
        LambdaQueryWrapper<StageSurveyPeripheralMppn> lambdaQueryWrapper = new LambdaQueryWrapper<>();
        return list(lambdaQueryWrapper.eq(StageSurveyPeripheralMppn::getProjectId,projectId));
    }

}




